<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

	<head>
		<link type="text/css" rel="stylesheet" href="__COMMON__/css/style.css" />
		<script type="text/javascript" src="../../include/js/jquery.js"></script>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title></title>
	</head>

	<body>

		<include file="__PUBLIC__/head" />

		<div class="content">
			<div class="main">
				<include file="__PUBLIC__/left" />
				<!-- start right -->


				<div class="right">
					<div class="now">
						<div class="now_l"></div>
						<div class="now_m">
							<span class="fl">修改分类</span>
							<span class="fr fabu"><a href="{|U:'Classify/index'}">返回首页</a></span>
						</div>
						<div class="now_r"></div>
						<div class="clear"></div>
					</div>


					<div class="add">
						<span class="gname">分类名称</span>
						<form action="{|U:'Classify/editcfy'}" method="post">
							<span class="type_0">所属分类：</span>
							<select name="pid" class="type_1">
								<option value="0">顶级分类</option>
								<foreach from="$catecfy" key="$k" value="$v">
									<option value="{$v.cid}" <if value="$olddata['pid'] eq $v['cid']">selected="selected"</if>>{$v.cname}</option>
								</foreach>
							</select>
							<span class="paixu_0">排序：</span>
							<input type="text" name="sort" id="sort" value="{$olddata.sort}" class="paixu" />
							<span class="paixu_1">分类名称：</span>
							<input type="text" value="{$olddata.cname}" name="cname" class="text" />
							<input type="hidden" name="cid" id="" value="{$hd.get.cid}" />
							<button class="sub">确认修改</button>
						</form>

					</div>













					</table>
					</form>
				</div>

				<div class="clear"></div>
			</div>
			<div class="foot">Copyright <span class="num">&copy;</span> 2014-2017
				<a target="_blank" href="#"></a> 版权所有</div>
		</div>
		<script type="text/javascript">
			$(function() {
				$(".list").find("tr").hover(
					function() {
						if ($(this).find("td").hasClass("bgtt")) return;
						$(this).find("td").css("background-color", "#ffffdd");
					},
					function() {
						if ($(this).find("td").hasClass("bgtt")) return;
						$(this).find("td").css("background-color", "#fff");
					}
				)
			})
		</script>

	</body>

</html>